package org.finesys.chat.core.base.embedding;

import lombok.Getter;
import org.finesys.common.core.util.ValidationUtil;

import java.util.List;

@Getter
public class EmbeddingSearchResult<Embedded> {

    private final List<EmbeddingMatch<Embedded>> matches;

    public EmbeddingSearchResult(List<EmbeddingMatch<Embedded>> matches) {
        this.matches = ValidationUtil.ensureNotNull(matches, "matches");
    }

}
